package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


public interface WmChannelService extends IService<WmChannel> {
     ResponseResult  channeList();

    ResponseResult channelSave(@RequestBody WmChannel wmChannel);

    ResponseResult channelFind(@RequestBody ChannelDto dto);

    ResponseResult update(@RequestBody WmChannel wmChannel);

    ResponseResult del (Integer id);


}